{extend name="public:base" /}


{block name="css"}
<link rel="stylesheet" type="text/css" href="/static/layui/css/layui.css"/>
<link rel="stylesheet" type="text/css" href="__ADMIN__/css/style.css">
{/block}

{block name="content"}

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-content">
                    <form method="post">
                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">姓名</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" name="username" placeholder="请输入姓名" value="{$info.username}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <!--<div class="box-item">
                            <div class="form-group row layui-form">
                                <label class="col-sm-1 col-form-label">证件类型</label>
                                <div class="col-sm-3">
                                    <select name="id_type">
                                        <option value="身份证">身份证</option>
                                    </select>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>-->

                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">证件号</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" name="id_num" placeholder="请输入证件号" value="{$info.id_num}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">所得期间起</label>
                                <div class="col-sm-3">
                                    <input placeholder="请选择开始日期" type="text" name="income_period_start" value="{$info.income_period_start}" class="form-control form-control-lg date" readonly>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">所得期间止</label>
                                <div class="col-sm-3">
                                    <input placeholder="请选择开始日期" type="text" name="income_period_end" value="{$info.income_period_end}" class="form-control form-control-lg date" readonly>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <div class="box-item">
                            <div class="form-group row">
                                <label class="col-sm-1 col-form-label">本期收入</label>
                                <div class="col-sm-3">
                                    <input type="number" class="form-control" name="current_income" placeholder="请输入本期收入" value="{$info.current_income}">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                        </div>

                        <input type="hidden" name="id" value="{$info['id']}">
                        <input type="hidden" name="company_id" value="{$info['company_id']}">

                        <div class="form-group row">
                            <div class="col-sm-4 col-sm-offset-2">
                                <button type="button" class="btn btn-w-m btn-default back-page">返回</button>
                                <button type="button" class="btn btn-w-m btn-primary ajax-post">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{/block}
{block name='js'}
<script src="/static/laydate/laydate.js"></script>
<script>
    laydate.render({
        elem: '.date',
        format: 'yyyy-MM-dd'
    });
</script>
{/block}
